module.exports = {
    lintOnSave: false,   // 取消 eslint 验证
    productionSourceMap: false,
    publicPath: process.env.NODE_ENV === 'production'? './': '/',

    devServer: {
    	proxy: {
			'/api': {
				target: 'https://chat.52112.com/api/',
				changeOrigin: true,
				pathRewrite: {
					'^/api': ''
				}
			}
		}
    }
};